﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CRM.BLL
{
    [Serializable] 
    public class MethodResult
    {
        public enum ResultType
        {
            Success = 0,
            Failure = 1
        }

        private ResultType _result = ResultType.Success;
        private string _message = string.Empty;

        public ResultType Result
        {
            get { return _result; }
            set { _result = value; }
        }
        public string Message
        {
            get { return _message; }
            set { _message = value; }
        }
    }
}
